package com.wang.eteck.entry;

public class DeviceBean {
	String name;
	String mac;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMac() {
		return mac;
	}
	public void setMac(String mac) {
		this.mac = mac;
	}
	@Override
	public boolean equals(Object o) {
		DeviceBean bean = (DeviceBean)o;
		if (bean.getName().equals(this.name) && bean.getMac().equals(this.mac)) {
			return true;
		}
		return false;
	}
	
	
}
